In combinatorics, the Bell numbers count the possible partitions of a set. These numbers have been studied by mathematicians since the 19th century, and their roots go back to medieval Japan. In an example of Stigler's law of eponymy, they are named after Eric Temple Bell, who wrote about them in the 1930s.
The Bell numbers are denoted , where is an integer greater than or equal to zero. Starting with , the first few Bell numbers are
- .
The Bell number
counts the different ways to partition a set that has exactly
elements, or equivalently, the equivalence relations on it.
also counts the different
for
-line poems.
As well as appearing in counting problems, these numbers have a different interpretation, as moments of probability distributions. In particular, is the -th moment of a Poisson distribution with mean 1.
Counting
Set partitions
In general,
is the number of partitions of a set of size
. A partition of a set
is defined as a family of nonempty, pairwise disjoint subsets of
whose union is
. For example,
because the 3-element set
can be partitioned in 5 distinct ways:
As suggested by the set notation above, the ordering of subsets within the family is not considered; Weak ordering are counted by a different sequence of numbers, the ordered Bell numbers. is 1 because there is exactly one partition of the empty set. This partition is itself the empty set; it can be interpreted as a family of subsets of the empty set, consisting of zero subsets. It is vacuous truth that all of the subsets in this family are non-empty subsets of the empty set and that they are pairwise disjoint subsets of the empty set, because there are no subsets to have these unlikely properties.
The partitions of a set bijection with its equivalence relations. These are that are reflexive, symmetric, and transitive. The equivalence relation corresponding to a partition defines two elements as being equivalent when they belong to the same partition subset as each other. Conversely, every equivalence relation corresponds to a partition into equivalence classes. Therefore, the Bell numbers also count the equivalence relations.
Factorizations
If a number
is a
squarefree positive
integer, meaning that it is the product of some number
of distinct
, then
gives the number of different multiplicative partitions of
. These are
of
into numbers greater than one, treating two factorizations as the same if they have the same factors in a different order.
[ credits this observation to Silvio Minetola's Principii di Analisi Combinatoria (1909).] For instance, 30 is the product of the three primes 2, 3, and 5, and has
= 5 factorizations:
Rhyme schemes
The Bell numbers also count the
of an
n-line
poem or
stanza. A rhyme scheme describes which lines rhyme with each other, and so may be interpreted as a partition of the set of lines into rhyming subsets. Rhyme schemes are usually written as a sequence of Roman letters, one per line, with rhyming lines given the same letter as each other, and with the first lines in each rhyming set labeled in alphabetical order. Thus, the 15 possible four-line rhyme schemes are AAAA, AAAB, AABA, AABB, AABC, ABAA, ABAB, ABAC, ABBA, ABBB, ABBC, ABCA, ABCB, ABCC, and ABCD.
Permutations
The Bell numbers come up in a card
shuffling problem mentioned in the addendum to . If a deck of
n cards is shuffled by repeatedly removing the top card and reinserting it anywhere in the deck (including its original position at the top of the deck), with exactly
n repetitions of this operation, then there are
n n different shuffles that can be performed. Of these, the number that return the deck to its original sorted order is exactly
Bn. Thus, the probability that the deck is in its original order after shuffling it in this way is
Bn/
n n, which is significantly larger than the 1/
n! probability that would describe a uniformly random permutation of the deck.
Related to card shuffling are several other problems of counting special kinds of that are also answered by the Bell numbers. For instance, the nth Bell number equals the number of permutations on n items in which no three values that are in sorted order have the last two of these three consecutive. In a notation for generalized permutation patterns where values that must be consecutive are written adjacent to each other, and values that can appear non-consecutively are separated by a dash, these permutations can be described as the permutations that avoid the pattern 1-23. The permutations that avoid the generalized patterns 12-3, 32-1, 3-21, 1-32, 3-12, 21-3, and 23-1 are also counted by the Bell numbers. The permutations in which every 321 pattern (without restriction on consecutive values) can be extended to a 3241 pattern are also counted by the Bell numbers. However, the Bell numbers grow too quickly to count the permutations that avoid a pattern that has not been generalized in this way: by the (now proven) Stanley–Wilf conjecture, the number of such permutations is singly exponential, and the Bell numbers have a higher asymptotic growth rate than that.
Triangle scheme for calculations
The Bell numbers can easily be calculated by creating the so-called
Bell triangle, also called
Aitken's array or the
Peirce triangle after
Alexander Aitken and Charles Sanders Peirce.
-
Start with the number one. Put this on a row by itself. ()
-
Start a new row with the rightmost element from the previous row as the leftmost number ( where r is the last element of ( i − 1)-th row)
-
Determine the numbers not on the left column by taking the sum of the number to the left and the number above the number to the left, that is, the number diagonally up and left of the number we are calculating
-
Repeat step three until there is a new row with one more number than the previous row (do step 3 until )
-
The number on the left hand side of a given row is the Bell number for that row. ()
Here are the first five rows of the triangle constructed by these rules:
The Bell numbers appear on both the left and right sides of the triangle.
Properties
Summation formulas
The Bell numbers satisfy a recurrence relation involving binomial coefficients:
It can be explained by observing that, from an arbitrary partition of
n + 1 items, removing the set containing the first item leaves a partition of a smaller set of
k items for some number
k that may range from 0 to
n. There are
choices for the
k items that remain after one set is removed, and
Bk choices of how to partition them.
A different summation formula represents each Bell number as a sum of Stirling numbers of the second kind
established the expansion
uniformly for
as
, where
and each
and
are known expressions in
.
The asymptotic expression
\begin{align}
\frac{\ln B_n}{n} & = \ln n - \ln \ln n - 1 + \frac{\ln \ln n}{\ln n} + \frac{1}{\ln n} + \frac{1}{2}\left(\frac{\ln \ln n}{\ln n}\right)^2 + O\left(\frac{\ln \ln n}{(\ln n)^2} \right) \\
& {} \qquad \text{as }n\to\infty
\end{align}
was established by .
Bell primes
raised the question of whether infinitely many Bell numbers are also [[prime number]]s. These are called '''Bell primes'''. The first few Bell primes are:
- 2, 5, 877, 27644437, 35742549198872617291353508656626642567, 359334085968622831041960188598043661065388726959079837
corresponding to the indices 2, 3, 7, 13, 42 and 55 . The next
Bell prime is
B2841, which is approximately 9.30740105 × 10
6538.
History
The Bell numbers are named after Eric Temple Bell, who wrote about them in 1938, following up a 1934 paper in which he studied the
Bell polynomials. Bell did not claim to have discovered these numbers; in his 1938 paper, he wrote that the Bell numbers "have been frequently investigated" and "have been rediscovered many times". Bell cites several earlier publications on these numbers, beginning with which gives Dobiński's formula for the Bell numbers. Bell called these numbers "exponential numbers"; the name "Bell numbers" and the notation
Bn for these numbers was given to them by .
[. However, Rota gives an incorrect date, 1934, for .]
The first exhaustive enumeration of set partitions appears to have occurred in medieval Japan, where (inspired by the popularity of the book The Tale of Genji) a parlor game called genjikō sprang up, in which guests were given five packets of incense to smell and were asked to guess which ones were the same as each other and which were different. The 52 possible solutions, counted by the Bell number B5, were recorded by 52 different diagrams, which were printed above the chapter headings in some editions of The Tale of Genji.[ and also mention the connection between Bell numbers and The Tale of Genji, in less detail.]
In Srinivasa Ramanujan's second notebook, he investigated both Bell polynomials and Bell numbers.
Early references for the Bell triangle, which has the Bell numbers on both of its sides, include and .
See also
Notes
-
.
-
.
-
.
-
-
-
Reprinted with an addendum as "The Tinkly Temple Bells", Chapter 2 of Fractal Music, Hypercards, and more ... Mathematical Recreations from Scientific American, W. H. Freeman, 1992, pp. 24–38
-
-
.
-
External links